#{extends 'main.html' /}
#{set title:'CoolSoft - Events' /}

<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$(".test").hide();
  $("#show").click(function(){
  $(".test").slideToggle("slow");	
  });
});
</script>
Delete a sprint:
<br>
#{list items: events, as:'sprints'}

<ul id="show"> 
<br>
<a >Sprints: ${events.id} </a> 
<br>
</ul>
<ul>
<div class="test">
#{form @Events.removeSprint(event.id)}
<input type="submit" value="Delete Sprint">
#{/form}
</div>
</ul>
#{/list}
<br>

#{form @Notes.viewNote(eventID)}
<br>
	View a sprint review meeting note 
<br>
	<ul id="Events List" >
			#{list items:Events, as:'Event'}
		<li id="Events_${Event.id}" >
		 
		<a onclick="Notes.viewNote(Event.id);" href="#">${Event.name}</a>
		</li> 
			#{/list}
	</ul>

#{/form}
